//
//  Ugc_MyLaud_VC.m
//  ZITHER
//
//  Created by weixin on 2018/9/29.
//  Copyright © 2018年 weixn. All rights reserved.
//

#import "Ugc_MyLaud_VC.h"

@interface Ugc_MyLaud_VC ()

@end

@implementation Ugc_MyLaud_VC

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setNav];
    [self setUI];
}

-(void)setUI{
    [self.view addSubview:self.tbv];
    [self.tbv mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(NaviHeight);
        make.left.equalTo(self.view).offset(0);
        make.right.equalTo(self.view).offset(0);
        make.bottom.mas_equalTo(0);
    }];
}

-(void)setNav{
    
    /* TODO: ================= 导航栏V4样式 =================*/
    [self.baseNavigationView NavigationBarStyle:1];
    self.baseNavigationView.leftButton1.hidden = YES;
    self.baseNavigationView.navViewStyle.title.text = @"我的点赞";
    [self.baseNavigationView setHiddenNav:NO VC:self];

}

-(Ugc_MyLaud_Tbv_WX *)tbv{
    if (!_tbv) {
        _tbv = [[Ugc_MyLaud_Tbv_WX alloc]initializeFrame:CGRectMake(0, 0, kScreenW, kScreenH) isMj:1 isEstimatedRowHeight:YES addRegisterNib:@[@"MainFirst_MagazineList_UgcCell_WX",@"MainFirst_MagazineList_PGCCell_WX"]];
        //        _tbv.backgroundColor = [UIColor randomColor];
    }
    return _tbv;
}

-(void)viewWillAppear:(BOOL)animated{
    
    self.tabBarController.tabBar.hidden = YES;
    
}

@end
